package com.blb.exam.dao;


import com.blb.exam.common.entity.QuetionSet;

import java.util.List;

public interface QuetionSetDAO {

    List<QuetionSet> selectAll();

    //按id查考试题集
    QuetionSet selectById(Long stuId);

    //插入
    int insert(QuetionSet quetionSet);

    //更新
    int update(QuetionSet quetionSet);

    //删除
    int deleteById(int stuId);

    //分页查询
    List<QuetionSet> selectLimitLikeTitle(String stuName,int start, int length);

    //查考试题集总数
    int selectCountLikeTitle(String stuName);
}
